package net.sourceforge.perforce.ui;

import net.sourceforge.perforce.core.resources.IChangelist;

import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.swt.widgets.Shell;

public interface IPreSubmitOperation {
  boolean isEnabled(IChangelist changelist) throws CoreException;

  boolean collectUserInput(IChangelist changelis, Shell shell) throws CoreException;

  boolean perform(IChangelist changelist, IProgressMonitor monitor);
}
